﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="java.text.*"%>
<%@ page import="com.daowen.bll.*"%>
<%@ page import="com.daowen.entity.*" %>
<%@page import="com.daowen.dal.DALBase"%>
<%@ page  contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ include file="law.jsp"%>
<%
    String  id=request.getParameter("id");
    Bankcard tembankcard=null;
    if( id!=null)  
    {
       tembankcard=(Bankcard)DALBase.load("bankcard"," where id="+ id);
       request.setAttribute("bankcard",tembankcard);
    }
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
 <head>
  <title>卡片管理信息查看</title>
  
   <link rel="stylesheet" href="<%=SystemParam.getSiteRoot() %>/e/css/index.css" type="text/css"></link>
    <link rel="stylesheet" href="<%=SystemParam.getSiteRoot() %>/e/css/box.all.css" type="text/css"></link>
    
     <script src="<%=SystemParam.getSiteRoot() %>/webui/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
    <link href="<%=SystemParam.getSiteRoot() %>/webui/artDialog/skins/default.css" rel="stylesheet" type="text/css" />
    <script src="<%=SystemParam.getSiteRoot() %>/webui/artDialog/jquery.artDialog.source.js" type="text/javascript"></script>
    <script src="<%=SystemParam.getSiteRoot() %>/webui/artDialog/iframeTools.source.js" type="text/javascript"></script>
    <script src="<%=SystemParam.getSiteRoot()%>/webui/combo/combo.js" type="text/javascript"></script>
    <link href="<%=SystemParam.getSiteRoot() %>/webui/treetable/skin/jquery.treetable.css" rel="stylesheet" type="text/css" />
    <link href="<%=SystemParam.getSiteRoot() %>/webui/treetable/skin/jquery.treetable.theme.default.css" rel="stylesheet"
        type="text/css" />
    <script src="<%=SystemParam.getSiteRoot() %>/webui/treetable/js/jquery.treetable.js" type="text/javascript"></script>
     <link href="<%=SystemParam.getSiteRoot() %>/admin/css/web2table.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
			$(function() {
			    $("#btnDelete").click(function(){
			        var cardid=$(this).data("cardid");
			        
			             top.$.dialog.confirm("你确定要注销卡片管理信息?", function(){
				             window.location.href=encodeURI('<%=SystemParam.getSiteRoot()%>/admin/bankcardmanager.do?forwardurl=/e/huiyuan/bankcardmanager.jsp&khid=${huiyuan.id}&actiontype=delete&id='+cardid);
				         });
			        
			    });
			   
			});
       </script>
</head>
<body >
	<jsp:include page="head.jsp"></jsp:include>

	<div class="wrap">
		<div class="cover-title">
			当前位置：首页 &gt;&gt; 卡片管理
		</div>
	</div>


	<div class="fn-clear"></div>

		<div class="wrap">
		
		   <div class="main">
		   
		       <jsp:include  page="menu.jsp"></jsp:include>
		       <div class="main-content">
	<div class="card-box-list">
	<div class="card-box">
        <div class="card-box-name">
            <span class="bank-logo">
                <%
                 if(tembankcard.getBankname().equals("中国建设银行")){
                %>
                  <a href="#"><img width="16" height="16" alt="" src="<%=SystemParam.getSiteRoot() %>/admin/images/jianhang.png"></a>
                 
                 <%} %>
                <% if(tembankcard.getBankname().equals("中国工商银行")){
                %>
                  <a href="#"><img width="16" height="16" alt="" src="<%=SystemParam.getSiteRoot() %>/admin/images/icbc.png"></a>
                 
                 <%} %>
                 <% if(tembankcard.getBankname().equals("招商银行")){
                %>
                  <a href="#"><img width="16" height="16" alt="" src="<%=SystemParam.getSiteRoot() %>/admin/images/zhaohang.png"></a>
                 
                 <%} %>
            </span>
            <span class="bank-name" ><%=tembankcard.getBankname() %></span>
            <span class="bank-num4"></span>
            <span class="card-type card-type-CC"></span>
        </div>
        <div class="card-box-express">
            <div class="express-status">
                <span><%=tembankcard.getCardno() %></span>
            </div>
            <div class="express-status">
                <span><%=tembankcard.getKhrname()%></span>
            </div>
            
            <div class="fn-clear btn">
                 <span data-cardid="<%=tembankcard.getId() %>" id="btnDelete">删除卡</span>   
            </div>
        </div>
        <div class="card-detail"></div>
    </div>
	</div>		
	</div>
	</div>
	
</body>
</html>
